package com.spring.campus_express_delivery.service;

import com.spring.campus_express_delivery.entity.ExpressCompany;
import com.spring.campus_express_delivery.entity.PageBean;

import java.util.List;

public interface ExpressCompanyService {


    //取件地址列表
    PageBean<ExpressCompany> selectExpressCompanyByPage(int size, int page, String sort, String asc);
    //统计数目
    int selectCountByExpressCompany();
    //添加取件地址类型
    void insertExpressCompanyType(ExpressCompany expressCompany);
    ExpressCompany selectByExpressId(int id);

    void updateExpressCompanyType(ExpressCompany expressCompany);

    void deleteExpressCompanyById(Integer id);
    ExpressCompany selectByExpressCompanyType(String expressCompanyType);
}
